-
Home
-
MyRewards – Loyalty Points and Rewards for WooCommerce – Reward orders, referrals, product reviews and more
-
5.4.3
-
Code
-
Classes
- Event
Total Complexity |
284 |
Dependencies |
11 |
Dependents |
4 |
Total lines |
1,286 |
Lines of code |
952 |
Logical lines of code |
512 |
Comment lines |
128 |
Methods |
79 |
Properties |
20 |
Methods 79
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
fromPost() |
A |
40 |
14 |
55 |
submit() |
A |
35 |
11 |
98 |
save() |
A |
41 |
14 |
49 |
addPoint() |
A |
50 |
13 |
26 |
getForm() |
A |
32 |
5 |
114 |
getFieldsetBegin() |
A |
51 |
10 |
24 |
setCooldownResetDateTime() |
A |
51 |
9 |
28 |
getData() |
A |
46 |
8 |
37 |
canBeTriggered() |
A |
54 |
9 |
21 |
updateCooldownResetDateTime() |
A |
52 |
8 |
25 |
getCooldownInfo() |
A |
57 |
8 |
17 |
getRepeatInfo() |
A |
57 |
8 |
17 |
shapeGain() |
S |
60 |
8 |
12 |
isCool() |
S |
51 |
6 |
24 |
getTitle() |
S |
67 |
7 |
6 |
getOrLoadPool() |
S |
56 |
5 |
19 |
isValidGain() |
S |
58 |
5 |
15 |
instanciate() |
S |
59 |
5 |
14 |
getGainForDisplay() |
S |
59 |
5 |
13 |
getGainAlt() |
S |
60 |
5 |
12 |
getCooldownResetDateTime() |
S |
64 |
5 |
10 |
getPackageWPML() |
S |
57 |
4 |
15 |
getGain() |
S |
58 |
4 |
14 |
getCooldownText() |
S |
60 |
4 |
12 |
getPoolStatus() |
S |
64 |
4 |
11 |
getDelay() |
S |
69 |
4 |
7 |
incrTriggerCount() |
S |
66 |
4 |
7 |
delete() |
S |
59 |
3 |
15 |
register() |
S |
63 |
4 |
10 |
getGainWithCache() |
S |
66 |
4 |
8 |
getName() |
S |
64 |
4 |
10 |
setCooldownInfo() |
S |
62 |
3 |
11 |
setRepeatInfo() |
S |
62 |
3 |
11 |
setDelay() |
S |
65 |
3 |
9 |
getMaxTriggers() |
S |
67 |
3 |
9 |
getTriggerCount() |
S |
69 |
3 |
6 |
getPoolId() |
S |
68 |
3 |
8 |
getFinalGain() |
S |
65 |
3 |
8 |
getSinglePostMeta() |
S |
69 |
3 |
6 |
setMaxTriggers() |
S |
73 |
2 |
5 |
getFieldsetEnd() |
S |
74 |
2 |
4 |
getFieldsetPlaceholder() |
S |
76 |
2 |
3 |
getDataKeyPrefix() |
S |
72 |
2 |
5 |
getRegisteredByName() |
S |
77 |
2 |
3 |
getPool() |
S |
80 |
2 |
3 |
getPoolName() |
S |
79 |
2 |
3 |
getPoolType() |
S |
79 |
2 |
3 |
getStackName() |
S |
79 |
2 |
3 |
getId() |
S |
79 |
2 |
3 |
formatType() |
S |
71 |
2 |
5 |
getGainRaw() |
S |
71 |
2 |
6 |
getMultiplier() |
S |
68 |
2 |
7 |
_fromPost() |
S |
100 |
1 |
0 |
_save() |
S |
100 |
1 |
0 |
getDisplayType() |
S |
100 |
1 |
0 |
_install() |
S |
100 |
1 |
0 |
isRuleSupportedCooldown() |
S |
94 |
1 |
1 |
isCooldownRolling() |
S |
81 |
1 |
3 |
setCooldownRolling() |
S |
76 |
1 |
4 |
getCooldownTooltips() |
S |
82 |
1 |
3 |
isRepeatAllowed() |
S |
82 |
1 |
3 |
isDelayAllowed() |
S |
82 |
1 |
3 |
isMaxTriggersAllowed() |
S |
82 |
1 |
3 |
getDescription() |
S |
82 |
1 |
3 |
install() |
S |
76 |
1 |
4 |
getTitleAsReason() |
S |
79 |
1 |
3 |
setTitle() |
S |
77 |
1 |
4 |
getRegistered() |
S |
80 |
1 |
3 |
unsetPool() |
S |
77 |
1 |
4 |
setPool() |
S |
76 |
1 |
4 |
detach() |
S |
81 |
1 |
3 |
getType() |
S |
80 |
1 |
3 |
getClassname() |
S |
80 |
1 |
3 |
setGainAlt() |
S |
79 |
1 |
3 |
setGain() |
S |
76 |
1 |
4 |
setMultiplier() |
S |
72 |
1 |
5 |
setName() |
S |
81 |
1 |
3 |
getInformation() |
S |
66 |
1 |
9 |
getCategories() |
S |
66 |
1 |
8 |